.ytcenter-site-center #yt-masthead,
.ytcenter-site-center #footer-hh {
  width: 1003px!important;
}

#page.search.no-flex .branded-page-v2-container {
  min-width: 0!important;
}

.ytcenter-exp-settings-dialog .ytcenter-settings-content,
.ytcenter-exp-settings-dialog .ytcenter-settings-content > div {
  padding-left: 0px!important;
}

.ytcenter-exp-settings-dialog .yt-uix-form-textarea {
  width: 100% !important;
}
.ytcenter-site-center #alerts {
  margin: 0 auto!important;
}


.ytcenter-site-center #sb-wrapper {
  width: 1003px!important;
}

body.ytcenter-channelv2 #yt-masthead,body.ytcenter-channelv2 #page-container > #page.channel {
  width: auto!important;
  min-width: 1003px;
  max-width: 1422px;
}

body.ytcenter-channelv2 #page.channel > #guide + #content {
  width: auto!important;
}

.ytcenter-site-center #page-container > #page {
  margin: 0 auto!important;
}

.ytcenter-site-center #masthead-subnav > ul {
  width: 1003px;
  margin: 0 auto!important;
}

.ytcenter-site-center #page.channel.page-default {
  width: 100%!important;
}

.ytcenter-site-center #content-container #baseDiv,
.ytcenter-site-center #masthead-subnav {
  margin-left: auto!important;
  margin-right: auto!important;
}

.ytcenter-site-center #footer-container #footer {
  width: 1003px!important;
  margin-left: auto!important;
  margin-right: auto!important;
}

.ytcenter-site-center #yt-masthead-container #yt-masthead,
.ytcenter-site-center #header,
.ytcenter-site-center #alerts {
  width: 1003px;
  margin: 0 auto!important;
  padding: 0 10px!important;
}

.ytcenter-site-search.ytcenter-site-center.exp-new-site-width #guide + #content {
  width: 823px!important;
}

.ytcenter-site-search.ytcenter-site-center.exp-new-site-width #page {
  width: 1003px!important;
}

.ytcenter-site-not-watch.ytcenter-site-center #page {
  width: 1003px;
}

.ytcenter-site-not-watch.ytcenter-site-center #page-container {
  padding: 0 10px!important;
}

.ytcenter-site-not-watch.ytcenter-site-center.flex-width-enabled #page  {
  padding: 0 10px !important;
}

.flex-width-enabled #yt-masthead {
  width: auto!important;
  max-width: 1422px!important;
  min-width: 1003px!important;
}

.flex-width-enabled.exp-top-guide #yt-masthead,
.flex-width-enabled.site-center-aligned #yt-masthead,
.flex-width-enabled.site-as-giant-card #yt-masthead {
  width: auto!important;
  max-width: none!important;
  min-width: none!important;
}

.ytcenter-site-center.ytcenter-non-resize #player,
.ytcenter-site-center.ytcenter-non-resize #player-legacy,
.ytcenter-site-center.ytcenter-non-resize #content,
.ytcenter-site-center.ytcenter-non-resize #watch7-main-container {
  width: 1003px!important;
  padding-left: 0px!important;
  padding-right: 0px!important;
}

@media screen and (max-width:1381px) {
  .ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible #content {
    margin: 0!important;
  }
  .ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible #player,
  .ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible #player-legacy,
  .ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible #watch7-main-container {
    padding-left: 190px!important;
    padding-right: 190px!important;
    margin: 0!important;
  }
  .ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible #guide-container {
    left: 10px!important;
  }
  .rtl.ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible #guide-container {
    right: 10px!important;
  }
}

@media screen and (max-width:1165px) {
  .ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible.guide-collapsed #player,
  .ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible.guide-collapsed #player-legacy,
  .ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible.guide-collapsed #watch7-main-container {
    margin: 0!important;
  }
  .ltr.ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible.guide-collapsed #player,
  .ltr.ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible.guide-collapsed #player-legacy,
  .ltr.ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible.guide-collapsed #watch7-main-container {
    padding-left: 58px!important;
  }
  .rtl.ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible.guide-collapsed #player,
  .rtl.ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible.guide-collapsed #player-legacy,
  .rtl.ytcenter-site-center.ytcenter-non-resize.ytcenter-guide-visible.guide-collapsed #watch7-main-container {
    padding-right: 58px!important;
  }
  .ltr.ytcenter-site-notcenter.ytcenter-resize-disaligned #player,
  .ltr.ytcenter-site-notcenter.ytcenter-resize-disaligned #player-legacy  {
    padding-left: 0px !important;
  }
  .rtl.ytcenter-site-notcenter.ytcenter-resize-disaligned #player,
  .rtl.ytcenter-site-notcenter.ytcenter-resize-disaligned #player-legacy  {
    padding-right: 0px !important;
  }
}

.ltr.ytcenter-site-notcenter.ytcenter-resize-disaligned #player,
.ltr.ytcenter-site-notcenter.ytcenter-resize-disaligned #player-legacy {
  padding-left: 0;
}
.rtl.ytcenter-site-notcenter.ytcenter-resize-disaligned #player,
.rtl.ytcenter-site-notcenter.ytcenter-resize-disaligned #player-legacy {
  padding-left: 0;
}